package com.ims.core.saleconfig.domain;

import com.ims.common.annotation.Excel;
import com.ims.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 税收分类对象 t_sal_tax_category
 *
 * @author IMS
 * @date 2024-05-20
 */
public class TSalTaxCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 税收ID */
    @Excel(name = "税收ID")
    private String taxId;

    /** 客户ID */
    @Excel(name = "客户ID")
    private String custId;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String siteCode;

    /** 公司 */
    @Excel(name = "公司")
    private String siteName;

    /** 税收分类名称 */
    @Excel(name = "税收分类名称")
    private String taxName;

    /** 税收分类简称 */
    @Excel(name = "税收分类简称")
    private String taxShortName;

    /** 税收分类编码 */
    @Excel(name = "税收分类编码")
    private String taxCategoryCode;

    /** 税率代码 */
    @Excel(name = "税率代码")
    private BigDecimal taxRate;

    /** 税率 */
    @Excel(name = "税率")
    private String taxRateName;

    /** 享受优惠政策 */
    @Excel(name = "享受优惠政策")
    private String policyDesc;

    /** 即征即退类型代码 */
    @Excel(name = "即征即退类型代码")
    private Long policyCode;

    /** 优惠政策类型 */
    @Excel(name = "优惠政策类型")
    private String policyName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTaxId(String taxId)
    {
        this.taxId = taxId;
    }

    public String getTaxId()
    {
        return taxId;
    }
    public void setCustId(String custId)
    {
        this.custId = custId;
    }

    public String getCustId()
    {
        return custId;
    }
    public void setSiteCode(String siteCode)
    {
        this.siteCode = siteCode;
    }

    public String getSiteCode()
    {
        return siteCode;
    }
    public void setSiteName(String siteName)
    {
        this.siteName = siteName;
    }

    public String getSiteName()
    {
        return siteName;
    }
    public void setTaxName(String taxName)
    {
        this.taxName = taxName;
    }

    public String getTaxName()
    {
        return taxName;
    }
    public void setTaxShortName(String taxShortName)
    {
        this.taxShortName = taxShortName;
    }

    public String getTaxShortName()
    {
        return taxShortName;
    }
    public void setTaxCategoryCode(String taxCategoryCode)
    {
        this.taxCategoryCode = taxCategoryCode;
    }

    public String getTaxCategoryCode()
    {
        return taxCategoryCode;
    }
    public void setTaxRate(BigDecimal taxRatece)
    {
        this.taxRate = taxRate;
    }

    public BigDecimal getTaxRate()
    {
        return taxRate;
    }
    public void setTaxRateName(String taxRateName)
    {
        this.taxRateName = taxRateName;
    }

    public String getTaxRateName()
    {
        return taxRateName;
    }
    public void setPolicyDesc(String policyDesc)
    {
        this.policyDesc = policyDesc;
    }

    public String getPolicyDesc()
    {
        return policyDesc;
    }
    public void setPolicyCode(Long policyCode)
    {
        this.policyCode = policyCode;
    }

    public Long getPolicyCode()
    {
        return policyCode;
    }
    public void setPolicyName(String policyName)
    {
        this.policyName = policyName;
    }

    public String getPolicyName()
    {
        return policyName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taxId", getTaxId())
            .append("custId", getCustId())
            .append("siteCode", getSiteCode())
            .append("siteName", getSiteName())
            .append("taxName", getTaxName())
            .append("taxShortName", getTaxShortName())
            .append("taxCategoryCode", getTaxCategoryCode())
            .append("taxRate", getTaxRate())
            .append("taxRateName", getTaxRateName())
            .append("policyDesc", getPolicyDesc())
            .append("policyCode", getPolicyCode())
            .append("policyName", getPolicyName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
